define (require, exports, module) ->
  # 基础服务
  base_api = require 'mods/api/base_api'
  # 定义组件
  module.exports =

    # 查询持仓
    queryInfoProdList: (params) ->
      url = "/rest/qry/QuerySecumreal"
      return base_api.postRequestByParams url, params

    # 通过产品代码查询产品信息
    queryProdByCode: (params) ->
      url = "/product_query"
      return base_api.postRequestByParams url, params